<!DOCTYPE html>
<html style="font-size: 23.4375px;">
<head>
	<title>test for vue</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
</head>
<body>
<div id="cnt">
	<div type="file" id="aaa">123123123123</div>
	<div type="file" id="bbb">22222222222</div>
	<img src="" id="a" alt="" />
	<img src="" id="b" alt="" />
</div>
<script type="text/javascript" src="../components/js/PicEditor.js"></script>
<script type="text/javascript">
	piceditor({id : 'aaa', w : 50, h:50,isBind:true, callback : function(base64, canvas){
		document.getElementById('a').setAttribute('src', base64)
	}})
	document.getElementById('bbb').addEventListener('click', function(){
		piceditor({id : '', w : 250, h:50, callback : function(base64, canvas){
			document.getElementById('b').setAttribute('src', base64)
		}})
	}, !1)
	
</script>
</body>
</html>